<?php /* Smarty version Smarty-3.1.8, created on 2012-04-16 22:50:10
         compiled from "C:\xampp\htdocs\Projects\Project_step\administrator\themes\release\rights\index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:314584f8c860266d097-49113041%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3f746a43181f09beac23cdac7403e9fc4cadc4e8' => 
    array (
      0 => 'C:\\xampp\\htdocs\\Projects\\Project_step\\administrator\\themes\\release\\rights\\index.tpl',
      1 => 1334209085,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '314584f8c860266d097-49113041',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'baseURL' => 0,
    'roles' => 0,
    'role' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_4f8c8602ad07b7_03402418',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f8c8602ad07b7_03402418')) {function content_4f8c8602ad07b7_03402418($_smarty_tpl) {?><a href="<?php echo $_smarty_tpl->tpl_vars['baseURL']->value;?>
rights/addRole">Дoбавить роль</a>
<ul>
<?php  $_smarty_tpl->tpl_vars['role'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['role']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['roles']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['role']->key => $_smarty_tpl->tpl_vars['role']->value){
$_smarty_tpl->tpl_vars['role']->_loop = true;
?>
	<li><a href="<?php echo $_smarty_tpl->tpl_vars['baseURL']->value;?>
rights/view/<?php echo $_smarty_tpl->tpl_vars['role']->value->name;?>
"><?php echo $_smarty_tpl->tpl_vars['role']->value->name;?>
</a><a style="float:right" href="<?php echo $_smarty_tpl->tpl_vars['baseURL']->value;?>
rights/deleteRole/<?php echo $_smarty_tpl->tpl_vars['role']->value->name;?>
">Удалить</a></li>
<?php } ?>
</ul><?php }} ?>